html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* ��ֹ������ */
}

#main {
    position: absolute;
    width: 100%;  /* �޸�Ϊ100% */
    height: 100%; /* �޸�Ϊ100% */
}

#localVideo {
    position: absolute;
    background: #757474;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 150px;
    z-index: 2;
}

#remoteVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222;
}

#buttons {
    z-index: 3;
    bottom: 20px;
    left: 50%; /* ʹ��ť����ˮƽ���� */
    transform: translateX(-50%); /* ����ƫ�� */
    position: absolute;
}

#toUser {
    border: 1px solid #ccc;
    padding: 7px 0;
    border-radius: 5px;
    padding-left: 5px;
    margin-bottom: 5px;
}

#toUser:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

#call {
    width: 70px;
    height: 35px;
    background-color: #00BB00;
    border: none;
    margin-right: 25px;
    color: white;
    border-radius: 5px;
}

#hangup {
    width: 70px;
    height: 35px;
    background-color: #FF5151;
    border: none;
    color: white;
    border-radius: 5px;
}
